package com.ngc.mall.domain;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ngc.mall.common.configure.mybatisPlus.BaseDomain;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 *  权限用户信息
 *
 * @author : Chen Xiao Lin
 * @Date : 2023/4/2 15:46
 **/

@Data
@Builder
@TableName("user")
@NoArgsConstructor
@AllArgsConstructor
public class UserDomain extends BaseDomain {

    /**
     * 用户昵称
     */
    private String nickname;

    private String account;

    private String password;

    private Boolean online;

    private LocalDateTime loginTime;

    @TableLogic
    private Boolean deleted;

    /**
     * 联系方式
     */
    private String mobilePhone;

    /**
     * 性别
     */
    private Integer gender;

    private String post;

    private Long departmentId;

    private String note;

    

}
